<?php
//--------------------------------------------------
// Patch file:	patch_ucp_attach_ch.php
// Patch time:	Sun 12 Mar 2006, 18:45 (GMT)
//--------------------------------------------------
if ( !defined('IN_PHPBB') )
{
	die('Hack attempt');
}

// header
$patch_version = '1.0.1';
$patch_date = '20070209';
$patch_author = 'Ptirhiik';
$patch_ref = 'User profile : attachment for CH options';

// panels and fields
$patch_data = array(
	'ucp' => array(
		'name' => 'User_control_panel',
		'options' => array(

			'uacp' => array(
				'name' => 'Attachments',
				'auth' => array(POST_GROUPS_URL => 'ucp_edit_profile'),
				'options' => array(

					'search' => array(
						'name' => 'Attach_search',
						'file' => 'includes/ucp/ucp_attach_search',
						'auth' => array(POST_GROUPS_URL => 'ucp_edit_attach'),
					),
				),
			),

			'admin' => array(
				'name' => 'User_admin',
				'fields' => array(
					'user_upload_quota' => array('type' => 'attach_quota', 'legend' => 'Upload_quota', 'quota_type' => 'upload', 'class_file' => 'includes/attach/class_attach_cp_fields'),
					'user_pm_quota' => array('type' => 'attach_quota', 'legend' => 'Pm_quota', 'quota_type' => 'pm', 'class_file' => 'includes/attach/class_attach_cp_fields'),
				),
			),
		),
	),
);


// auths definitions
$patch_auths = array();

?>